using Admin.NET.Application.Entity;
using Admin.NET.Core;

namespace Admin.NET.Application;

public class SysStockTakingOrderSeedData : ISqlSugarEntitySeedData<Sysstocktakingorder>
{
    public IEnumerable<Sysstocktakingorder> HasData()  
    {
        return new List<Sysstocktakingorder>
        {
            new() { Id=2100000000101, Code=@"PDDH8944", InventoryResult=@"草稿", WarehouseName=@"1500000000101", StockTakingType=@"存货盘点", StartTime=DateTime.Parse("2024-02-29 00:00:00.000"), EndTime=DateTime.Parse("2024-02-29 00:00:00.000"), OutStatus=DocumentStatusEnum.Draft, InStatus=DocumentStatusEnum.Draft, GoodsName=@"GD0001", Quantity=50, ProfitQuantity=null, LossQuantity=null, ProfitAmount=null, LossAmount=null, DocumentStatus=DocumentStatusEnum.Draft, Remark=@"草稿状态盘点单", TenantId=1300000000001, OrgId=1300000000001, IsDelete=false, DeleteTime=null, CreateTime=DateTime.Parse("2024-02-29 09:00:00.000"), UpdateTime=null, CreateUserId=1300000000001, CreateUserName=@"任杰", UpdateUserId=null, UpdateUserName=null },
            new() { Id=2100000000102, Code=@"PDDH9896", InventoryResult=@"有盈利", WarehouseName=@"1500000000102", StockTakingType=@"存货盘点", StartTime=DateTime.Parse("2024-02-29 00:00:00.000"), EndTime=DateTime.Parse("2024-02-29 00:00:00.000"), OutStatus=DocumentStatusEnum.Completed, InStatus=DocumentStatusEnum.Completed, GoodsName=@"GD0002", Quantity=50, ProfitQuantity=10, LossQuantity=null, ProfitAmount=999.00m, LossAmount=null, DocumentStatus=DocumentStatusEnum.PendingReview, Remark=@"有盘盈的盘点单", TenantId=1300000000001, OrgId=1300000000001, IsDelete=false, DeleteTime=null, CreateTime=DateTime.Parse("2024-02-29 10:00:00.000"), UpdateTime=null, CreateUserId=1300000000001, CreateUserName=@"任杰", UpdateUserId=null, UpdateUserName=null },
            new() { Id=2100000000103, Code=@"PDDH3629", InventoryResult=@"有盘亏", WarehouseName=@"1500000000103", StockTakingType=@"存货盘点", StartTime=DateTime.Parse("2024-02-29 00:00:00.000"), EndTime=DateTime.Parse("2024-02-29 00:00:00.000"), OutStatus=DocumentStatusEnum.Completed, InStatus=DocumentStatusEnum.Completed, GoodsName=@"GD0003", Quantity=50, ProfitQuantity=null, LossQuantity=5, ProfitAmount=null, LossAmount=500.00m, DocumentStatus=DocumentStatusEnum.Completed, Remark=@"有盘亏的盘点单", TenantId=1300000000001, OrgId=1300000000001, IsDelete=false, DeleteTime=null, CreateTime=DateTime.Parse("2024-02-29 11:00:00.000"), UpdateTime=null, CreateUserId=1300000000001, CreateUserName=@"任杰", UpdateUserId=null, UpdateUserName=null }
        };
    }
}


